{% extends "admin/base.html" %}


{% block content_main %}
<div class="layui-row">
    <h1>签到记录</h1>
</div>
<div class="layui-row">
    <table class="layui-table">
      <thead>
        <tr>
          <th>班级</th>
          <th>上课教室</th>
          <th>上课时间</th>
          <th>进入签到</th>
        </tr>
      </thead>
      <tbody>
        {% for i in classes %}
          <tr>
            <td>{{ i.name }}</td>
            <td>{{ i.room }}</td>
            <td>{{ i.time }}</td>
            <td><a href="/admin/sign_in_log_table_url?id_classes={{ i.id }}">查看</a></td>
          </tr>
        {% endfor %}
      </tbody>
    </table>
</div>
{% endblock %}